/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package questao02;

/**
 *
 * @author SDKW
 */
public class Aplicacao {

    public static void main(String[] args) {
        LoggerManager log1 = LoggerManager.getInstance(TypeLogger.Database);
        log1.setAtivo(true);
        log1.log("PRIMEIRA MENSAGEM DE LOG");
        LoggerManager log2 = LoggerManager.getInstance(TypeLogger.EventViewer);
        log2.log("SEGUNDA MENSAGEM DE LOG");
        /*LoggerManager log3 = LoggerManager.getInstance(TypeLogger.Database);
        log3.log("Terceira MENSAGEM DE LOG");*/
    }

}